<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%-- jsp的动态包含和静态包含,参照Servlet知识点 --%>
<%@ include file="/common/include/page.jsp"%>
<!doctype html>
<html class="no-js" lang="en">

<head>
    <title>注册 - 商城</title>
    <%@ include file="/common/include/title.jsp" %>
</head>

<body>

<%@ include file="/common/include/header.jsp" %>
<!--=====================
    Breadcrumb Aera Start
    =========================-->
<div class="breadcrumbs_area">
    <div class="container">
        <div class="row">
            <div class="col-12">
                <div class="breadcrumb_content">
                    <ul>
                        <li>
                            <h1><a href="${rootPath}/index.mvc">首页</a></h1>
                        </li>
                        <li>注册</li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
<!--=====================
Breadcrumb Aera End
=========================-->

<!--======================
login area Start
==========================-->
<div class="login-area mt-25">
    <div class="container">
        <div class="row">
            <div class="offset-lg-3 col-lg-6">
                <div class="checkout_info mb-20">
                    <form class="form-row" action="${rootPath}/registerSubmit.mvc" method="post">
                        <h1 class="last-title mb-30 text-center">注册</h1>
                        <div class="form_group col-12">
                            <label class="form-label">邮箱<span>*</span></label>
                            <input class="input-form" type="text" name="email" value="${requestScope.email}">
                        </div>
                        <div class="form_group col-12 position-relative">
                            <label class="form-label">密码 <span>*</span></label>
                            <input class="input-form input-login" type="password" name="password">
                            <button class="show-btn">Show</button>
                        </div>
                        <div class="form_group col-12 position-relative">
                            <label class="form-label">确认密码 <span>*</span></label>
                            <input class="input-form input-login" type="password" name="confirmPassword">
                            <button class="show-btn">Show</button>
                        </div>
                        <div class="form_group group_3 col-lg-3">
                            <button class="login-register" type="submit">注册</button>
                        </div>
                        <div class="col-lg-12 text-left">
                            <p class="register-page">
                                <a href="${rootPath}/login.mvc">登陆</a>.
                            </p>
                        </div>
                        <div class="col-lg-12 text-left">
                            ${info}
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<!--======================
login area End
==========================-->

<%@ include file="/common/include/footer.jsp"%>
</body>
</html>